package com.qingcloud.adminbackend.entity.aline;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 网格化参数校准页面查询返回对象
 */
@Data
public class AlinePageVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "Id", example = "11")
    private String id;

    @ApiModelProperty(value = "设备编号", example = "80000004")
    private String equipmentId;

    @ApiModelProperty(value = "监测因子", example = "PM2.5")
    private Integer factorId;

    @ApiModelProperty(value = "传感器状态", example = "正常")
    private String sensorStatus;

    @ApiModelProperty(value = "应用缩放系数", example = "1000")
    private Integer realRatio;

    @ApiModelProperty(value = "应用校准k参数", example = "0.1")
    private BigDecimal realParamK;

    @ApiModelProperty(value = "应用校准b参数", example = "0.1")
    private BigDecimal realParamB;

    @ApiModelProperty(value = "应用操作结果(-1参数不完整,-2设备不在线,-3其他错误,0成功,1失败,2设备忙," +
            "3执行超时,4参数错误,5读写失败,6不支持,7认证错误,8kb值待下发,9API接收成功)", example = "2")
    private Integer realStatus;

    @ApiModelProperty(value = "应用操作时间", example = "2019-04-12 15:00:01")
    private LocalDateTime realTime;

    @ApiModelProperty(value = "实验缩放系数", example = "1000")
    private Integer labRatio;

    @ApiModelProperty(value = "实验室校准k参数", example = "0.1")
    private BigDecimal labParamK;

    @ApiModelProperty(value = "实验室校准B参数", example = "0.1")
    private BigDecimal labParamB;

    @ApiModelProperty(value = "应用操作结果(-1参数不完整,-2设备不在线,-3其他错误,0成功,1失败,2设备忙," +
            "3执行超时,4参数错误,5读写失败,6不支持,7认证错误,8kb值待下发,9API接收成功)", example = "0")
    private Integer labStatus;

    @ApiModelProperty(value = "应用操作时间", example = "2019-04-12 12:00:01")
    private LocalDateTime labTime;
}
